Integrand size = 23, antiderivative size = 136 \[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=-\frac {5 b d^2 x \sqrt {-1+c x} \sqrt {1+c x}}{96 c}+\frac {5 b d^2 x (-1+c x)^{3/2} (1+c x)^{3/2}}{144 c}-\frac {b d^2 x (-1+c x)^{5/2} (1+c x)^{5/2}}{36 c}+\frac {5 b d^2 \text {arccosh}(c x)}{96 c^2}-\frac {d^2 \left (1-c^2 x^2\right )^3 (a+b \text {arccosh}(c x))}{6 c^2} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 136, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {5914, 38, 54} \[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=-\frac {d^2 \left (1-c^2 x^2\right )^3 (a+b \text {arccosh}(c x))}{6 c^2}+\frac {5 b d^2 \text {arccosh}(c x)}{96 c^2}-\frac {b d^2 x (c x-1)^{5/2} (c x+1)^{5/2}}{36 c}+\frac {5 b d^2 x (c x-1)^{3/2} (c x+1)^{3/2}}{144 c}-\frac {5 b d^2 x \sqrt {c x-1} \sqrt {c x+1}}{96 c} \]
[In]
[Out]
Rule 38
Rule 54
Rule 5914
Rubi steps \begin{align*} \text {integral}& = -\frac {d^2 \left (1-c^2 x^2\right )^3 (a+b \text {arccosh}(c x))}{6 c^2}-\frac {\left (b d^2\right ) \int (-1+c x)^{5/2} (1+c x)^{5/2} \, dx}{6 c} \\ & = -\frac {b d^2 x (-1+c x)^{5/2} (1+c x)^{5/2}}{36 c}-\frac {d^2 \left (1-c^2 x^2\right )^3 (a+b \text {arccosh}(c x))}{6 c^2}+\frac {\left (5 b d^2\right ) \int (-1+c x)^{3/2} (1+c x)^{3/2} \, dx}{36 c} \\ & = \frac {5 b d^2 x (-1+c x)^{3/2} (1+c x)^{3/2}}{144 c}-\frac {b d^2 x (-1+c x)^{5/2} (1+c x)^{5/2}}{36 c}-\frac {d^2 \left (1-c^2 x^2\right )^3 (a+b \text {arccosh}(c x))}{6 c^2}-\frac {\left (5 b d^2\right ) \int \sqrt {-1+c x} \sqrt {1+c x} \, dx}{48 c} \\ & = -\frac {5 b d^2 x \sqrt {-1+c x} \sqrt {1+c x}}{96 c}+\frac {5 b d^2 x (-1+c x)^{3/2} (1+c x)^{3/2}}{144 c}-\frac {b d^2 x (-1+c x)^{5/2} (1+c x)^{5/2}}{36 c}-\frac {d^2 \left (1-c^2 x^2\right )^3 (a+b \text {arccosh}(c x))}{6 c^2}+\frac {\left (5 b d^2\right ) \int \frac {1}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{96 c} \\ & = -\frac {5 b d^2 x \sqrt {-1+c x} \sqrt {1+c x}}{96 c}+\frac {5 b d^2 x (-1+c x)^{3/2} (1+c x)^{3/2}}{144 c}-\frac {b d^2 x (-1+c x)^{5/2} (1+c x)^{5/2}}{36 c}+\frac {5 b d^2 \text {arccosh}(c x)}{96 c^2}-\frac {d^2 \left (1-c^2 x^2\right )^3 (a+b \text {arccosh}(c x))}{6 c^2} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 126, normalized size of antiderivative = 0.93 \[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=\frac {d^2 \left (c x \left (b \sqrt {-1+c x} \sqrt {1+c x} \left (-33+26 c^2 x^2-8 c^4 x^4\right )+48 a c x \left (3-3 c^2 x^2+c^4 x^4\right )\right )+48 b c^2 x^2 \left (3-3 c^2 x^2+c^4 x^4\right ) \text {arccosh}(c x)-66 b \text {arctanh}\left (\sqrt {\frac {-1+c x}{1+c x}}\right )\right )}{288 c^2} \]
[In]
[Out]
Time = 0.53 (sec) , antiderivative size = 170, normalized size of antiderivative = 1.25
method | result | size |
derivativedivides | \(\frac {\frac {d^{2} a \left (c^{2} x^{2}-1\right )^{3}}{6}+d^{2} b \left (\frac {\operatorname {arccosh}\left (c x \right ) c^{6} x^{6}}{6}-\frac {c^{4} x^{4} \operatorname {arccosh}\left (c x \right )}{2}+\frac {c^{2} x^{2} \operatorname {arccosh}\left (c x \right )}{2}-\frac {\operatorname {arccosh}\left (c x \right )}{6}+\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, \left (-8 c^{5} x^{5} \sqrt {c^{2} x^{2}-1}+26 \sqrt {c^{2} x^{2}-1}\, c^{3} x^{3}-33 c x \sqrt {c^{2} x^{2}-1}+15 \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )\right )}{288 \sqrt {c^{2} x^{2}-1}}\right )}{c^{2}}\) | \(170\) |
default | \(\frac {\frac {d^{2} a \left (c^{2} x^{2}-1\right )^{3}}{6}+d^{2} b \left (\frac {\operatorname {arccosh}\left (c x \right ) c^{6} x^{6}}{6}-\frac {c^{4} x^{4} \operatorname {arccosh}\left (c x \right )}{2}+\frac {c^{2} x^{2} \operatorname {arccosh}\left (c x \right )}{2}-\frac {\operatorname {arccosh}\left (c x \right )}{6}+\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, \left (-8 c^{5} x^{5} \sqrt {c^{2} x^{2}-1}+26 \sqrt {c^{2} x^{2}-1}\, c^{3} x^{3}-33 c x \sqrt {c^{2} x^{2}-1}+15 \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )\right )}{288 \sqrt {c^{2} x^{2}-1}}\right )}{c^{2}}\) | \(170\) |
parts | \(\frac {d^{2} a \left (c^{2} x^{2}-1\right )^{3}}{6 c^{2}}+\frac {d^{2} b \left (\frac {\operatorname {arccosh}\left (c x \right ) c^{6} x^{6}}{6}-\frac {c^{4} x^{4} \operatorname {arccosh}\left (c x \right )}{2}+\frac {c^{2} x^{2} \operatorname {arccosh}\left (c x \right )}{2}-\frac {\operatorname {arccosh}\left (c x \right )}{6}+\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, \left (-8 c^{5} x^{5} \sqrt {c^{2} x^{2}-1}+26 \sqrt {c^{2} x^{2}-1}\, c^{3} x^{3}-33 c x \sqrt {c^{2} x^{2}-1}+15 \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )\right )}{288 \sqrt {c^{2} x^{2}-1}}\right )}{c^{2}}\) | \(172\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 149, normalized size of antiderivative = 1.10 \[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=\frac {48 \, a c^{6} d^{2} x^{6} - 144 \, a c^{4} d^{2} x^{4} + 144 \, a c^{2} d^{2} x^{2} + 3 \, {\left (16 \, b c^{6} d^{2} x^{6} - 48 \, b c^{4} d^{2} x^{4} + 48 \, b c^{2} d^{2} x^{2} - 11 \, b d^{2}\right )} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (8 \, b c^{5} d^{2} x^{5} - 26 \, b c^{3} d^{2} x^{3} + 33 \, b c d^{2} x\right )} \sqrt {c^{2} x^{2} - 1}}{288 \, c^{2}} \]
[In]
[Out]
\[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=d^{2} \left (\int a x\, dx + \int \left (- 2 a c^{2} x^{3}\right )\, dx + \int a c^{4} x^{5}\, dx + \int b x \operatorname {acosh}{\left (c x \right )}\, dx + \int \left (- 2 b c^{2} x^{3} \operatorname {acosh}{\left (c x \right )}\right )\, dx + \int b c^{4} x^{5} \operatorname {acosh}{\left (c x \right )}\, dx\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 287 vs. \(2 (113) = 226\).
Time = 0.25 (sec) , antiderivative size = 287, normalized size of antiderivative = 2.11 \[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=\frac {1}{6} \, a c^{4} d^{2} x^{6} - \frac {1}{2} \, a c^{2} d^{2} x^{4} + \frac {1}{288} \, {\left (48 \, x^{6} \operatorname {arcosh}\left (c x\right ) - {\left (\frac {8 \, \sqrt {c^{2} x^{2} - 1} x^{5}}{c^{2}} + \frac {10 \, \sqrt {c^{2} x^{2} - 1} x^{3}}{c^{4}} + \frac {15 \, \sqrt {c^{2} x^{2} - 1} x}{c^{6}} + \frac {15 \, \log \left (2 \, c^{2} x + 2 \, \sqrt {c^{2} x^{2} - 1} c\right )}{c^{7}}\right )} c\right )} b c^{4} d^{2} - \frac {1}{16} \, {\left (8 \, x^{4} \operatorname {arcosh}\left (c x\right ) - {\left (\frac {2 \, \sqrt {c^{2} x^{2} - 1} x^{3}}{c^{2}} + \frac {3 \, \sqrt {c^{2} x^{2} - 1} x}{c^{4}} + \frac {3 \, \log \left (2 \, c^{2} x + 2 \, \sqrt {c^{2} x^{2} - 1} c\right )}{c^{5}}\right )} c\right )} b c^{2} d^{2} + \frac {1}{2} \, a d^{2} x^{2} + \frac {1}{4} \, {\left (2 \, x^{2} \operatorname {arcosh}\left (c x\right ) - c {\left (\frac {\sqrt {c^{2} x^{2} - 1} x}{c^{2}} + \frac {\log \left (2 \, c^{2} x + 2 \, \sqrt {c^{2} x^{2} - 1} c\right )}{c^{3}}\right )}\right )} b d^{2} \]
[In]
[Out]
Exception generated. \[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int x \left (d-c^2 d x^2\right )^2 (a+b \text {arccosh}(c x)) \, dx=\int x\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^2 \,d x \]
[In]
[Out]